package com.ly.service;

import com.github.pagehelper.PageInfo;
import com.ly.entity.User;
import com.ly.rep.LoginRep;
import com.ly.rep.PageRequest;
import com.ly.req.LoginReq;

public interface UserService {
    //用户注册
    Boolean register(User user);
    LoginRep login(LoginReq loginReq);
    PageInfo<User> page(PageRequest<User> pageRequest);
}
